SmashBalloon\Reviews\Common\Feed D

Total Complexity 150
Dependencies 8
Dependents 5
Total lines 574
Lines of code 418
Logical lines of code 247
Comment lines 5
Methods 35
Properties 9

Methods 35

Method Rating Maintainability Complexity Lines of code
filter_posts()
D
31 57 74
api_request()
A
46 11 36
hydrate_sources()
A
50 10 30
update_posts_cache()
S
52 6 23
update_header_cache()
S
59 5 13
get_set_cache()
S
55 4 19
cache_single_posts_from_set()
S
57 4 16
get_post_set_page()
S
61 4 12
__construct()
S
55 3 21
sort_array_byrating_and_date()
S
64 4 9
posts_from_db()
S
59 3 14
add_source_to_post_set()
S
61 3 12
is_last_page()
S
62 3 11
init()
S
61 3 11
update_header_cache_from_source()
S
55 2 21
provider_for_provider_id()
S
67 3 8
sort_array_byrating()
S
69 2 6
sort_array_bydate()
S
69 2 6
get_remote_posts()
S
71 2 6
get_remote_header_data_old()
S
68 2 7
get_remote_header_data()
S
69 2 7
get_db_lang()
S
68 2 7
get_posts()
S
82 1 3
get_settings()
S
82 1 3
get_errors()
S
80 1 3
get_feed_id()
S
82 1 3
set_errors()
S
80 1 3
add_error()
S
71 1 6
should_check_media()
S
82 1 3
update_cache()
S
72 1 5
get_feed_style()
S
82 1 3
set_posts()
S
81 1 3
get_header_data()
S
82 1 3
set_header_data()
S
81 1 3
get_posts_for_moderation()
S
66 1 8